package com.sy.core.mapper;

import com.sy.core.model.SyArticle;

import java.util.List;
import java.util.Map;

public interface SyArticleMapper {
    int deleteByPrimaryKey(String pk);

    int insert(SyArticle record);

    int insertSelective(SyArticle record);

    SyArticle selectByPrimaryKey(String pk);

    int updateByPrimaryKeySelective(SyArticle record);

    int updateByPrimaryKeyWithBLOBs(SyArticle record);

    int updateByPrimaryKey(SyArticle record);

    List<Map<String, Object>> queryList(SyArticle syArticle);

    Map<String, Object> queryOne(String pk);

    Integer batchDel(String pks);

    List<String> queryArticleType(SyArticle syArticle);
}